home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
101-125
/
disk_103
/
sol
/
poster
< prev
next >
Wrap
Internet Message Format
|
1992-05-06
|
2KB
From: tektronix!cwruecmp.UUCP!allbery%ncoast.UUCP
Date: Wed 5 Aug 1987 at 10:23:04
Path: tekred!games-request
From: games-request@tekred.TEK.COM
Newsgroups: comp.sources.games
Subject: v02i030: sol2 - solitaire games (revised)
Message-ID: <1485@tekred.TEK.COM>
Date: 5 Aug 87 17:23:04 GMT
Sender: billr@tekred.TEK.COM
Reply-To: allbery%ncoast.UUCP@cwruecmp.UUCP (Brandon S. Allbery)
Lines: 1943
Approved: billr@tekred.TEK.COM
Submitted by: allbery%ncoast.UUCP@cwruecmp.UUCP (Brandon S. Allbery)
Comp.sources.games: Volume 2, Issue 30
Archive-name: sol2
[From the author... -br]
[[I've done some work on the solitaire games posted to this newsgroup in late
July. Included below is a "shar" of the modified sources. (The linting made
the diffs bigger than the originals.)
Summary of changes to the programs:
(1) Fixed a bug in getting the backspace character from the termcap.
(2) Added code for System III and System V, and derivatives thereof, for the
terminal I/O library used by these systems.
(3) Added code to make ^Z work in these games even on systems without job
control; instead of returning to the parent shell, you get a subshell.
(This is independent of the terminal stuff, as I know of BSD lookalikes
that don't have job control (Pixel) and System V's that have job control
(Callan).)
(4) Changed the gettimeofday() to a localtime(). The game only uses the
"seconds" portion of the returned data, and that only to do an srand().
I figure localtime() is good enough for the games' purpose.
(5) Linted. --Partially, as System III lint isn't as smart as System V
lint and therefore probably missed some things. However, it *did* catch
an operator precedence bug.
Detailed information is in the README. (The author's original README is
included at the end of my README.)
Quick compile commands:
- edit Makefile; comment and/or uncomment lines at the top depending
on whether your system uses the terminfo/curses termcap emulation
or real termcap;
- type "make" and wait for it to finish
Have fun!
++Brandon]]